home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / System / XFD / Developer / include / C / libraries / xfdmaster.h
Encoding:
C/C++ Source or Header  |  2001-09-16  |  20.2 KB  |  504 lines

  1. #ifndef LIBRARIES_XFDMASTER_H
  2. #define LIBRARIES_XFDMASTER_H
  3.  
  4. /*
  5. **    $VER: xfdmaster.h 39.4 (07.01.2000)
  6. **
  7. **    Copyright © 1994-2000 by Georg Hörmann, Dirk Stöcker
  8. **    All Rights Reserved.
  9. */
  10.  
  11. #ifndef EXEC_LIBRARIES_H
  12. #include <exec/libraries.h>
  13. #endif
  14.  
  15. /*********************
  16. *                    *
  17. *    Library Base    *
  18. *                    *
  19. *********************/
  20.  
  21. struct xfdMasterBase {
  22.   struct Library LibNode;
  23.   ULONG            xfdm_SegList;      /* PRIVATE! */
  24.   struct DosLibrary *    xfdm_DosBase;      /* May be used for I/O etc. */
  25.   struct xfdSlave *    xfdm_FirstSlave;   /* List of available slaves */
  26.   struct xfdForeMan *    xfdm_FirstForeMan; /* PRIVATE! */
  27.   ULONG            xfdm_MinBufferSize;/* (V36) Min. BufSize for xfdRecogBuffer() */
  28.   ULONG            xfdm_MinLinkerSize;/* (V36) Min. BufSize for xfdRecogLinker() */
  29.   struct ExecBase *    xfdm_ExecBase;     /* (V38.2) Cached for fast access */
  30. };
  31.  
  32. #define XFDM_VERSION    39        /* for OpenLibrary() */
  33. #define XFDM_NAME    "xfdmaster.library"
  34.  
  35. /***************************
  36. *                          *
  37. *    Object Types (V36)    *
  38. *                          *
  39. ***************************/
  40.  
  41. #define XFDOBJ_BUFFERINFO    1    /* xfdBufferInfo structure */
  42. #define XFDOBJ_SEGMENTINFO    2    /* xfdSegmentInfo structure */
  43. #define XFDOBJ_LINKERINFO    3    /* xfdLinkerInfo structure */
  44. #define XFDOBJ_SCANNODE        4    /* (V37) xfdScanNode structure */
  45. #define XFDOBJ_SCANHOOK        5    /* (V37) xfdScanHook structure */
  46. #define XFDOBJ_MAX        5    /* PRIVATE! */
  47.  
  48. /********************
  49. *                   *
  50. *    Buffer Info    *
  51. *                   *
  52. ********************/
  53.  
  54. struct xfdBufferInfo {
  55.   APTR           xfdbi_SourceBuffer;      /* Pointer to source buffer */
  56.   ULONG           xfdbi_SourceBufLen;      /* Length of source buffer */
  57.   struct xfdSlave *xfdbi_Slave;          /* PRIVATE! */
  58.   STRPTR       xfdbi_PackerName;      /* Name of recognized packer */
  59.   UWORD           xfdbi_PackerFlags;      /* Flags for recognized packer */
  60.   UWORD           xfdbi_Error;          /* Error return code */
  61.   APTR           xfdbi_TargetBuffer;      /* Pointer to target buffer */
  62.   ULONG           xfdbi_TargetBufMemType;/* Memtype of target buffer */
  63.   ULONG           xfdbi_TargetBufLen;      /* Full length of buffer */
  64.   ULONG           xfdbi_TargetBufSaveLen;/* Used length of buffer */
  65.   ULONG           xfdbi_DecrAddress;      /* Address to load decrunched file */
  66.   ULONG           xfdbi_JmpAddress;      /* Address to jump in file */
  67.   APTR           xfdbi_Special;      /* Special decrunch info (eg. password) */
  68.   UWORD           xfdbi_Flags;          /* (V37) Flags to influence recog/decr */
  69.   UWORD           xfdbi_Reserved0;      /* (V38) PRIVATE! */
  70.   ULONG           xfdbi_MinTargetLen;      /* (V38) Required length of target buffer */
  71.   ULONG           xfdbi_FinalTargetLen;  /* (V38) Final length of decrunched file */
  72.   APTR           xfdbi_UserTargetBuf;      /* (V38) Target buffer allocated by user */
  73.   ULONG           xfdbi_UserTargetBufLen;/* (V38) Target buffer length */
  74.   ULONG           xfdbi_MinSourceLen;      /* (V39) minimum source length (tested by
  75.                            master library */
  76. };
  77.  
  78. #define xfdbi_MaxSpecialLen xfdbi_Error    /* Max. length of special info */
  79.  
  80. /*********************
  81. *                    *
  82. *    Segment Info    *
  83. *                    *
  84. *********************/
  85.  
  86. struct xfdSegmentInfo {
  87.   ULONG           xfdsi_SegList;    /* BPTR to segment list */
  88.   struct xfdSlave *xfdsi_Slave;        /* PRIVATE! */
  89.   STRPTR       xfdsi_PackerName;    /* Name of recognized packer */
  90.   UWORD           xfdsi_PackerFlags;    /* Flags for recognized packer */
  91.   UWORD           xfdsi_Error;        /* Error return code */
  92.   APTR           xfdsi_Special;    /* Special decrunch info (eg. password) */
  93.   UWORD           xfdsi_RelMode;    /* (V34) Relocation mode */
  94.   UWORD           xfdsi_Flags;        /* (V37) Flags to influence recog/decr */
  95. };
  96.  
  97. #define xfdsi_MaxSpecialLen xfdsi_Error    /* Max. length of special info */
  98.  
  99. /**************************
  100. *                         *
  101. *    Linker Info (V36)    *
  102. *                         *
  103. **************************/
  104.  
  105. struct xfdLinkerInfo {
  106.     APTR    xfdli_Buffer;        /* Pointer to buffer */
  107.     ULONG    xfdli_BufLen;        /* Length of buffer */
  108.     STRPTR    xfdli_LinkerName;    /* Name of recognized linker */
  109.     APTR    xfdli_Unlink;        /* PRIVATE! */
  110.     UWORD    xfdli_Reserved;        /* Set to NULL */
  111.     UWORD    xfdli_Error;        /* Error return code */
  112.     ULONG    xfdli_Hunk1;        /* PRIVATE! */
  113.     ULONG    xfdli_Hunk2;        /* PRIVATE! */
  114.     ULONG    xfdli_Amount1;        /* PRIVATE! */
  115.     ULONG    xfdli_Amount2;        /* PRIVATE! */
  116.     APTR    xfdli_Save1;        /* Pointer to first unlinked file */
  117.     APTR    xfdli_Save2;        /* Pointer to second unlinked file */
  118.     ULONG    xfdli_SaveLen1;        /* Length of first unlinked file */
  119.     ULONG    xfdli_SaveLen2;        /* Length of second unlinked file */
  120. };
  121.  
  122. /************************
  123. *                       *
  124. *    Scan Node (V37)    *
  125. *                       *
  126. ************************/
  127.  
  128. struct xfdScanNode {
  129.   struct xfdScanNode *xfdsn_Next;    /* Pointer to next xfdScanNode or NULL */
  130.   APTR              xfdsn_Save;    /* Pointer to data */
  131.   ULONG              xfdsn_SaveLen;    /* Length of data */
  132.   STRPTR          xfdsn_PackerName;    /* Name of recognized packer */
  133.   UWORD              xfdsn_PackerFlags;/* Flags for recognized packer */
  134. };
  135.  
  136. /************************
  137. *                       *
  138. *    Scan Hook (V37)    *
  139. *                       *
  140. ************************/
  141.  
  142. struct xfdScanHook {
  143.   BOOL    (* xfdsh_Entry)();    /* Entrypoint of hook code */
  144.   APTR       xfdsh_Data;        /* Private data of hook */
  145.   ULONG       xfdsh_ToDo;        /* Bytes still to scan (READ ONLY) */
  146.   ULONG       xfdsh_ScanNode;    /* Found data right now (or NULL) (READ ONLY) */
  147. };
  148.  
  149. /********************
  150. *                   *
  151. *    Error Codes    *
  152. *                   *
  153. ********************/
  154.  
  155. #define XFDERR_OK        0x0000    /* No errors */
  156.  
  157. #define XFDERR_NOMEMORY        0x0001    /* Error allocating memory */
  158. #define XFDERR_NOSLAVE        0x0002    /* No slave entry in info structure */
  159. #define XFDERR_NOTSUPPORTED    0x0003    /* Slave doesn't support called function */
  160. #define XFDERR_UNKNOWN        0x0004    /* Unknown file */
  161. #define XFDERR_NOSOURCE        0x0005    /* No sourcebuffer/seglist specified */
  162. #define XFDERR_WRONGPASSWORD    0x0006    /* Wrong password for decrunching */
  163. #define XFDERR_BADHUNK        0x0007    /* Bad hunk structure */
  164. #define XFDERR_CORRUPTEDDATA    0x0008    /* Crunched data is corrupted */
  165. #define XFDERR_MISSINGRESOURCE    0x0009    /* (V34) Missing resource (eg. library) */
  166. #define XFDERR_WRONGKEY        0x000a    /* (V35) Wrong 16/32 bit key */
  167. #define XFDERR_BETTERCPU    0x000b    /* (V37) Better CPU required */
  168. #define XFDERR_HOOKBREAK    0x000c    /* (V37) Hook caused break */
  169. #define XFDERR_DOSERROR        0x000d    /* (V37) Dos error */
  170. #define XFDERR_NOTARGET        0x000e    /* (V38) No user target given */
  171. #define XFDERR_TARGETTOOSMALL    0x000f    /* (V38) User target is too small */
  172. #define XFDERR_TARGETNOTSUPPORTED 0x0010 /* (V38) User target not supported */
  173.  
  174. #define XFDERR_UNDEFINEDHUNK    0x1000    /* (V34) Undefined hunk type */
  175. #define XFDERR_NOHUNKHEADER    0x1001    /* (V34) File is not executable */
  176. #define XFDERR_BADEXTTYPE    0x1002    /* (V34) Bad hunk_ext type */
  177. #define XFDERR_BUFFERTRUNCATED    0x1003    /* (V34) Unexpected end of file */
  178. #define XFDERR_WRONGHUNKAMOUNT    0x1004    /* (V34) Wrong amount of hunks */
  179. #define XFDERR_NOOVERLAYS    0x1005    /* (V36) Overlays not allowed */
  180.  
  181. #define XFDERR_UNSUPPORTEDHUNK    0x2000    /* (V34) Hunk type not supported */
  182. #define XFDERR_BADRELMODE    0x2001    /* (V34) Unknown XFDREL_#? mode */
  183.  
  184. /*******************************
  185. *                              *
  186. *    Relocation Modes (V34)    *
  187. *                              *
  188. *******************************/
  189.  
  190. #define XFDREL_DEFAULT        0x0000    /* Use memory types given by hunk_header */
  191. #define XFDREL_FORCECHIP    0x0001    /* Force all hunks to chip ram */
  192. #define XFDREL_FORCEFAST    0x0002    /* Force all hunks to fast ram */
  193.  
  194. /*************************************
  195. *                                    *
  196. *    Values for xfd??_PackerFlags    *
  197. *                                    *
  198. *************************************/
  199.  
  200. /* Bit numbers */
  201. #define XFDPFB_RELOC    0    /* Relocatible file packer */
  202. #define XFDPFB_ADDR    1    /* Absolute address file packer */
  203. #define XFDPFB_DATA    2    /* Data file packer */
  204.  
  205. #define XFDPFB_PASSWORD    4    /* Packer requires password */
  206. #define XFDPFB_RELMODE    5    /* (V34) Decruncher supports xfdsi_RelMode */
  207. #define XFDPFB_KEY16    6    /* (V35) Packer requires 16 bit key */
  208. #define XFDPFB_KEY32    7    /* (V35) Packer requires 32 bit key */
  209.  
  210. #define    XFDPFB_RECOGLEN    8    /* (V38) slave recognizes target lengths */
  211. #define    XFDPFB_USERTARGET 9    /* (V38) slave supports user target buffer */
  212.  
  213. #define XFDPFB_EXTERN    15    /* (V37) PRIVATE */
  214.  
  215. /* Bit masks */
  216. #define XFDPFF_RELOC    (1<<XFDPFB_RELOC)
  217. #define XFDPFF_ADDR    (1<<XFDPFB_ADDR)
  218. #define XFDPFF_DATA    (1<<XFDPFB_DATA)
  219.  
  220. #define XFDPFF_PASSWORD    (1<<XFDPFB_PASSWORD)
  221. #define XFDPFF_RELMODE    (1<<XFDPFB_RELMODE)
  222. #define XFDPFF_KEY16    (1<<XFDPFB_KEY16)
  223. #define XFDPFF_KEY32    (1<<XFDPFB_KEY32)
  224.  
  225. #define XFDPFF_RECOGLEN    (1<<XFDPFB_RECOGLEN)
  226. #define XFDPFF_USERTARGET (1<<XFDPFB_USERTARGET)
  227.  
  228. #define XFDPFF_EXTERN    (1<<XFDPFB_EXTERN)
  229.  
  230. /************************************
  231. *                                   *
  232. *    Values for xfd??_Flags (V37)   *
  233. *                                   *
  234. ************************************/
  235.  
  236. /* Bit numbers */
  237. #define XFDFB_RECOGEXTERN    0    /* xfdRecog#?() uses external slaves */
  238. #define    XFDFB_RECOGTARGETLEN    1    /* (V38) xfdRecogBuffer() uses only slaves
  239.                        that recognize target lengths */
  240. #define    XFDFB_RECOGUSERTARGET    2    /* (V38) xfdRecogBuffer() uses only slaves
  241.                        that support user targets */
  242. #define    XFDFB_USERTARGET    3    /* (V38) xfdbi_DecrunchBuffer() decrunchs
  243.                        to given xfdbi_UserTarget */
  244. #define XFDFB_MASTERALLOC    4    /* (V39) master allocated decrunch buffer */ 
  245.  
  246. /* Bit masks */
  247. #define XFDFF_RECOGEXTERN    (1<<XFDFB_RECOGEXTERN)
  248. #define XFDFF_RECOGTARGETLEN    (1<<XFDFB_RECOGTARGETLEN)
  249. #define XFDFF_RECOGUSERTARGET    (1<<XFDFB_RECOGUSERTARGET)
  250. #define XFDFF_USERTARGET    (1<<XFDFB_USERTARGET)
  251. #define XFDFF_MASTERALLOC    (1<<XFDFB_MASTERALLOC)
  252.  
  253. /****************************************************
  254. *                                                   *
  255. *    Flags for xfdTestHunkStructureFlags() (V36)    *
  256. *                                                   *
  257. ****************************************************/
  258.  
  259. /* Bit numbers */
  260. #define XFDTHB_NOOVERLAYS    0    /* Abort on hunk_overlay */
  261.  
  262. /* Bit masks */
  263. #define XFDTHF_NOOVERLAYS    (1<<XFDTHB_NOOVERLAYS)
  264.  
  265. /****************************************
  266. *                                       *
  267. *    Flags for xfdStripHunks() (V36)    *
  268. *                                       *
  269. ****************************************/
  270.  
  271. /* Bit numbers */
  272. #define XFDSHB_NAME    0    /* Strip hunk_name */
  273. #define XFDSHB_SYMBOL    1    /* Strip hunk_symbol */
  274. #define XFDSHB_DEBUG    2    /* Strip hunk_debug */
  275.  
  276. /* Bit masks */
  277. #define XFDSHF_NAME    (1<<XFDSHB_NAME)
  278. #define XFDSHF_SYMBOL    (1<<XFDSHB_SYMBOL)
  279. #define XFDSHF_DEBUG    (1<<XFDSHB_DEBUG)
  280.  
  281. /**************************************
  282. *                                     *
  283. *    Flags for xfdScanData() (V37)    *
  284. *                                     *
  285. **************************************/
  286.  
  287. /* Bit numbers */
  288. #define XFDSDB_USEEXTERN 0    /* Use external slaves for scanning */
  289. #define XFDSDB_SCANODD    1    /* Scan at odd addresses too */
  290.  
  291. /* Bit masks */
  292. #define XFDSDF_USEEXTERN (1<<XFDSDB_USEEXTERN)
  293. #define XFDSDF_SCANODD    (1<<XFDSDB_SCANODD)
  294.  
  295. /****************
  296. *               *
  297. *    Foreman    *
  298. *               *
  299. ****************/
  300.  
  301. struct xfdForeMan {
  302.   ULONG        xfdf_Security;    /* moveq #-1,d0 ; rts */
  303.   ULONG        xfdf_ID;        /* Set to XFDF_ID */
  304.   UWORD               xfdf_Version;    /* Set to XFDF_VERSION */
  305.   UWORD        xfdf_Reserved;    /* Not used by now, set to NULL */
  306.   ULONG           xfdf_Next;        /* PRIVATE! */
  307.   ULONG           xfdf_SegList;    /* PRIVATE! */
  308.   struct xfdSlave *xfdf_FirstSlave;    /* First slave (see below) */
  309. };
  310.  
  311. #define XFDF_ID        (('X'<<24)|('F'<<16)|('D'<<8)|('F'))
  312. #define XFDF_VERSION    1
  313.  
  314. /**************
  315. *             *
  316. *    Slave    *
  317. *             *
  318. **************/
  319.  
  320. struct xfdSlave {
  321.   struct xfdSlave *xfds_Next;        /* Next slave (or NULL) */
  322.   UWORD           xfds_Version;    /* Set to XFDS_VERSION */
  323.   UWORD        xfds_MasterVersion;    /* Minimum XFDM_VERSION required */
  324.   STRPTR       xfds_PackerName;    /* Name of packer ('\0' terminated) */
  325.   UWORD        xfds_PackerFlags;    /* Flags for packer */
  326.   UWORD        xfds_MaxSpecialLen;    /* Max. length of special info (eg. password) */
  327.   BOOL        (* xfds_RecogBuffer)();       /* buffer recognition code (or NULL) */
  328.   BOOL        (* xfds_DecrunchBuffer)(); /* buffer decrunch code (or NULL) */
  329.   BOOL        (* xfds_RecogSegment)();   /* segment recognition code (or NULL) */
  330.   BOOL        (* xfds_DecrunchSegment)();/* segment decrunch code (or NULL) */
  331.   UWORD           xfds_SlaveID;    /* (V36) Slave ID (only internal slaves) */
  332.   UWORD           xfds_ReplaceID;    /* (V36) ID of slave to be replaced */
  333.   ULONG           xfds_MinBufferSize;    /* (V36) Min. BufSize for RecogBufferXYZ() */
  334. };
  335.  
  336. #define xfds_ScanData xfds_RecogSegment        /* (V37) XFDPFB_DATA: Scan code (or NULL) */
  337. #define xfds_VerifyData xfds_DecrunchSegment    /* (V37) XFDPFB_DATA: Verify code (or NULL) */
  338.  
  339. #define XFDS_VERSION    2
  340.  
  341. /*********************************************
  342. *                                            *
  343. *    Additional Recognition Results (V38)    *
  344. *                                            *
  345. *********************************************/
  346.  
  347. struct xfdRecogResult {
  348.     ULONG    xfdrr_MinTargetLen;    /* Min. required length of target buffer */
  349.     ULONG    xfdrr_FinalTargetLen;    /* Final length of decrunched file */
  350.     ULONG    xfdrr_MinSourceLen;    /* (V39) minimum size of source file */
  351. };
  352.  
  353. /*********************************
  354. *                                *
  355. *    Internal Slave IDs (V36)    *
  356. *                                *
  357. *********************************/
  358.  
  359. #define XFDID_BASE    0x8000
  360.  
  361. #define XFDID_PowerPacker23        (XFDID_BASE+0x0001)
  362. #define XFDID_PowerPacker30        (XFDID_BASE+0x0003)
  363. #define XFDID_PowerPacker30Enc        (XFDID_BASE+0x0005)
  364. #define XFDID_PowerPacker30Ovl        (XFDID_BASE+0x0007)
  365. #define XFDID_PowerPacker40        (XFDID_BASE+0x0009)
  366. #define XFDID_PowerPacker40Lib        (XFDID_BASE+0x000a)
  367. #define XFDID_PowerPacker40Enc        (XFDID_BASE+0x000b)
  368. #define XFDID_PowerPacker40LibEnc    (XFDID_BASE+0x000c)
  369. #define XFDID_PowerPacker40Ovl        (XFDID_BASE+0x000d)
  370. #define XFDID_PowerPacker40LibOvl    (XFDID_BASE+0x000e)
  371. #define XFDID_PowerPackerData        (XFDID_BASE+0x000f)
  372. #define XFDID_PowerPackerDataEnc    (XFDID_BASE+0x0010)
  373. #define XFDID_ByteKiller13        (XFDID_BASE+0x0011)
  374. #define XFDID_ByteKiller20        (XFDID_BASE+0x0012)
  375. #define XFDID_ByteKiller30        (XFDID_BASE+0x0013)
  376. #define XFDID_ByteKillerPro10        (XFDID_BASE+0x0014)
  377. #define XFDID_ByteKillerPro10Pro    (XFDID_BASE+0x0015)
  378. #define XFDID_DragPack10        (XFDID_BASE+0x0016)
  379. #define XFDID_TNMCruncher11        (XFDID_BASE+0x0017)
  380. #define XFDID_HQCCruncher20        (XFDID_BASE+0x0018)
  381. #define XFDID_RSICruncher14        (XFDID_BASE+0x0019)
  382. #define XFDID_ANCCruncher        (XFDID_BASE+0x001a)
  383. #define XFDID_ReloKit10            (XFDID_BASE+0x001b)
  384. #define XFDID_HighPressureCruncher    (XFDID_BASE+0x001c)
  385. #define XFDID_STPackedSong        (XFDID_BASE+0x001d)
  386. #define XFDID_TSKCruncher        (XFDID_BASE+0x001e)
  387. #define XFDID_LightPack15        (XFDID_BASE+0x001f)
  388. #define XFDID_CrunchMaster10        (XFDID_BASE+0x0020)
  389. #define XFDID_HQCCompressor100        (XFDID_BASE+0x0021)
  390. #define XFDID_FlashSpeed10        (XFDID_BASE+0x0022)
  391. #define XFDID_CrunchManiaData        (XFDID_BASE+0x0023)
  392. #define XFDID_CrunchManiaDataEnc    (XFDID_BASE+0x0024)
  393. #define XFDID_CrunchManiaLib        (XFDID_BASE+0x0025)
  394. #define XFDID_CrunchManiaNormal        (XFDID_BASE+0x0026)
  395. #define XFDID_CrunchManiaSimple        (XFDID_BASE+0x0027)
  396. #define XFDID_CrunchManiaAddr        (XFDID_BASE+0x0028)
  397. #define XFDID_DefJamCruncher32        (XFDID_BASE+0x0029)
  398. #define XFDID_DefJamCruncher32Pro    (XFDID_BASE+0x002a)
  399. #define XFDID_TetraPack102        (XFDID_BASE+0x002b)
  400. #define XFDID_TetraPack11        (XFDID_BASE+0x002c)
  401. #define XFDID_TetraPack21        (XFDID_BASE+0x002d)
  402. #define XFDID_TetraPack21Pro        (XFDID_BASE+0x002e)
  403. #define XFDID_TetraPack22        (XFDID_BASE+0x002f)
  404. #define XFDID_TetraPack22Pro        (XFDID_BASE+0x0030)
  405. #define XFDID_DoubleAction10        (XFDID_BASE+0x0031)
  406. #define XFDID_DragPack252Data        (XFDID_BASE+0x0032)
  407. #define XFDID_DragPack252        (XFDID_BASE+0x0033)
  408. #define XFDID_FCG10            (XFDID_BASE+0x0034)
  409. #define XFDID_Freeway07            (XFDID_BASE+0x0035)
  410. #define XFDID_IAMPacker10ATM5Data    (XFDID_BASE+0x0036)
  411. #define XFDID_IAMPacker10ATM5        (XFDID_BASE+0x0037)
  412. #define XFDID_IAMPacker10ICEData    (XFDID_BASE+0x0038)
  413. #define XFDID_IAMPacker10ICE        (XFDID_BASE+0x0039)
  414. #define XFDID_Imploder            (XFDID_BASE+0x003a)
  415. #define XFDID_ImploderLib        (XFDID_BASE+0x003b)
  416. #define XFDID_ImploderOvl        (XFDID_BASE+0x003c)
  417. #define XFDID_FileImploder        (XFDID_BASE+0x003d)
  418. #define XFDID_MasterCruncher30Addr    (XFDID_BASE+0x003f)
  419. #define XFDID_MasterCruncher30        (XFDID_BASE+0x0040)
  420. #define XFDID_MaxPacker12        (XFDID_BASE+0x0041)
  421. #define XFDID_PackIt10Data        (XFDID_BASE+0x0042)
  422. #define XFDID_PackIt10            (XFDID_BASE+0x0043)
  423. #define XFDID_PMCNormal            (XFDID_BASE+0x0044)
  424. #define XFDID_PMCSample            (XFDID_BASE+0x0045)
  425. #define XFDID_XPKPacked            (XFDID_BASE+0x0046)
  426. #define XFDID_XPKCrypted        (XFDID_BASE+0x0047)
  427. #define XFDID_TimeCruncher17        (XFDID_BASE+0x0048)
  428. #define XFDID_TFACruncher154        (XFDID_BASE+0x0049)
  429. #define XFDID_TurtleSmasher13        (XFDID_BASE+0x004a)
  430. #define XFDID_MegaCruncher10        (XFDID_BASE+0x004b)
  431. #define XFDID_MegaCruncher12        (XFDID_BASE+0x004c)
  432. #define XFDID_ProPack            (XFDID_BASE+0x004d)
  433. #define XFDID_ProPackData        (XFDID_BASE+0x004e)
  434. #define XFDID_ProPackDataKey        (XFDID_BASE+0x004f)
  435. #define XFDID_STCruncher10        (XFDID_BASE+0x0050)
  436. #define XFDID_STCruncher10Data        (XFDID_BASE+0x0051)
  437. #define XFDID_SpikeCruncher        (XFDID_BASE+0x0052)
  438. #define XFDID_SyncroPacker46        (XFDID_BASE+0x0053)
  439. #define XFDID_SyncroPacker46Pro        (XFDID_BASE+0x0054)
  440. #define XFDID_TitanicsCruncher11    (XFDID_BASE+0x0055)
  441. #define XFDID_TitanicsCruncher12    (XFDID_BASE+0x0056)
  442. #define XFDID_TryItCruncher101        (XFDID_BASE+0x0057)
  443. #define XFDID_TurboSqueezer61        (XFDID_BASE+0x0058)
  444. #define XFDID_TurboSqueezer80        (XFDID_BASE+0x0059)
  445. #define XFDID_TurtleSmasher200        (XFDID_BASE+0x005a)
  446. #define XFDID_TurtleSmasher200Data    (XFDID_BASE+0x005b)
  447. #define XFDID_StoneCracker270        (XFDID_BASE+0x005c)
  448. #define XFDID_StoneCracker270Pro    (XFDID_BASE+0x005d)
  449. #define XFDID_StoneCracker292        (XFDID_BASE+0x005e)
  450. #define XFDID_StoneCracker299        (XFDID_BASE+0x005f)
  451. #define XFDID_StoneCracker299d        (XFDID_BASE+0x0060)
  452. #define XFDID_StoneCracker300        (XFDID_BASE+0x0061)
  453. #define XFDID_StoneCracker300Data    (XFDID_BASE+0x0062)
  454. #define XFDID_StoneCracker310        (XFDID_BASE+0x0063)
  455. #define XFDID_StoneCracker310Data    (XFDID_BASE+0x0064)
  456. #define XFDID_StoneCracker311        (XFDID_BASE+0x0065)
  457. #define XFDID_StoneCracker400        (XFDID_BASE+0x0066)
  458. #define XFDID_StoneCracker400Data    (XFDID_BASE+0x0067)
  459. #define XFDID_StoneCracker401        (XFDID_BASE+0x0068)
  460. #define XFDID_StoneCracker401Data    (XFDID_BASE+0x0069)
  461. #define XFDID_StoneCracker401Addr    (XFDID_BASE+0x006a)
  462. #define XFDID_StoneCracker401BetaAddr    (XFDID_BASE+0x006b)
  463. #define XFDID_StoneCracker403Data    (XFDID_BASE+0x006c)
  464. #define XFDID_StoneCracker404        (XFDID_BASE+0x006d)
  465. #define XFDID_StoneCracker404Data    (XFDID_BASE+0x006e)
  466. #define XFDID_StoneCracker404Addr    (XFDID_BASE+0x006f)
  467. #define XFDID_ChryseisCruncher09    (XFDID_BASE+0x0070)
  468. #define XFDID_QuickPowerPacker10    (XFDID_BASE+0x0071)
  469. #define XFDID_GNUPacker12        (XFDID_BASE+0x0072)
  470. #define XFDID_GNUPacker12Seg        (XFDID_BASE+0x0073)
  471. #define XFDID_GNUPacker12Data        (XFDID_BASE+0x0074)
  472. #define XFDID_TrashEliminator10        (XFDID_BASE+0x0075)
  473. #define XFDID_MasterCruncher30Data    (XFDID_BASE+0x0076)
  474. #define XFDID_SuperCruncher27        (XFDID_BASE+0x0077)
  475. #define XFDID_UltimatePacker11        (XFDID_BASE+0x0078)
  476. #define XFDID_ProPackOld        (XFDID_BASE+0x0079)
  477. #define XFDID_SACFPQCruncher        (XFDID_BASE+0x007a) /* disabled */
  478. #define XFDID_PowerPackerPatch10    (XFDID_BASE+0x007b)
  479. #define XFDID_CFP135            (XFDID_BASE+0x007c)
  480. #define XFDID_BOND            (XFDID_BASE+0x007d)
  481. #define XFDID_PowerPackerLoadSeg    (XFDID_BASE+0x007e)
  482. #define XFDID_StoneCracker299b        (XFDID_BASE+0x007f)
  483. #define XFDID_CrunchyDat10        (XFDID_BASE+0x0080)
  484. #define XFDID_PowerPacker20        (XFDID_BASE+0x0081)
  485. #define XFDID_StoneCracker403        (XFDID_BASE+0x0082)
  486. #define XFDID_PKProtector200        (XFDID_BASE+0x0083)
  487. #define XFDID_PPbk            (XFDID_BASE+0x0084)
  488. #define XFDID_StoneCracker292Data    (XFDID_BASE+0x0085)
  489. #define XFDID_MegaCruncherObj        (XFDID_BASE+0x0086)
  490. #define XFDID_DeluxeCruncher1        (XFDID_BASE+0x0087)
  491. #define XFDID_DeluxeCruncher3        (XFDID_BASE+0x0088)
  492. #define XFDID_ByteKiller97        (XFDID_BASE+0x0089)
  493. #define XFDID_TurboSqueezer51        (XFDID_BASE+0x008A)
  494. #define XFDID_SubPacker10        (XFDID_BASE+0x008B)
  495. #define XFDID_StoneCracker404Lib    (XFDID_BASE+0x008C)
  496. #define XFDID_ISC_Pass1            (XFDID_BASE+0x008D)
  497. #define XFDID_ISC_Pass2            (XFDID_BASE+0x008E)
  498. #define XFDID_ISC_Pass3            (XFDID_BASE+0x008F)
  499. #define XFDID_PCompressFALH        (XFDID_BASE+0x0090)
  500. #define XFDID_PCompressHILH        (XFDID_BASE+0x0091)
  501. #define XFDID_SMF            (XFDID_BASE+0x0092)
  502.  
  503. #endif /* LIBRARIES_XFDMASTER_H */
  504.